package com.tzbank.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.Table;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Entity(name = "mb_theme_order_flow_relation")
@Table(appliesTo = "mb_theme_order_flow_relation", comment = "记录业务ID关联的工单ID、流程ID")
public class ThemeOrderFlowRelation extends BaseModel implements Serializable {

	private static final long serialVersionUID = -3470056101125606698L;

	/**
	 * 业务ID
	 */
	@ApiModelProperty(value = "业务ID")
	@Column(name = "theme_id", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '业务ID'")
	private String themeId;

	/**
	 * 工单ID
	 */
	@ApiModelProperty(value = "工单ID")
	@Column(name = "order_id", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '工单ID'")
	private String orderId;

	/**
	 * 流程ID
	 */
	@ApiModelProperty(value = "流程ID")
	@Column(name = "flow_id", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '流程ID'")
	private String flowId;

}
